package com.ssish.saas.eccs.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SycankbrhExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SycankbrhExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andBankcdIsNull() {
            addCriterion("BANKCD is null");
            return (Criteria) this;
        }

        public Criteria andBankcdIsNotNull() {
            addCriterion("BANKCD is not null");
            return (Criteria) this;
        }

        public Criteria andBankcdEqualTo(String value) {
            addCriterion("BANKCD =", value, "bankcd");
            return (Criteria) this;
        }

        public Criteria andBankcdNotEqualTo(String value) {
            addCriterion("BANKCD <>", value, "bankcd");
            return (Criteria) this;
        }

        public Criteria andBankcdGreaterThan(String value) {
            addCriterion("BANKCD >", value, "bankcd");
            return (Criteria) this;
        }

        public Criteria andBankcdGreaterThanOrEqualTo(String value) {
            addCriterion("BANKCD >=", value, "bankcd");
            return (Criteria) this;
        }

        public Criteria andBankcdLessThan(String value) {
            addCriterion("BANKCD <", value, "bankcd");
            return (Criteria) this;
        }

        public Criteria andBankcdLessThanOrEqualTo(String value) {
            addCriterion("BANKCD <=", value, "bankcd");
            return (Criteria) this;
        }

        public Criteria andBankcdLike(String value) {
            addCriterion("BANKCD like", value, "bankcd");
            return (Criteria) this;
        }

        public Criteria andBankcdNotLike(String value) {
            addCriterion("BANKCD not like", value, "bankcd");
            return (Criteria) this;
        }

        public Criteria andBankcdIn(List<String> values) {
            addCriterion("BANKCD in", values, "bankcd");
            return (Criteria) this;
        }

        public Criteria andBankcdNotIn(List<String> values) {
            addCriterion("BANKCD not in", values, "bankcd");
            return (Criteria) this;
        }

        public Criteria andBankcdBetween(String value1, String value2) {
            addCriterion("BANKCD between", value1, value2, "bankcd");
            return (Criteria) this;
        }

        public Criteria andBankcdNotBetween(String value1, String value2) {
            addCriterion("BANKCD not between", value1, value2, "bankcd");
            return (Criteria) this;
        }

        public Criteria andBankbrhcdIsNull() {
            addCriterion("BANKBRHCD is null");
            return (Criteria) this;
        }

        public Criteria andBankbrhcdIsNotNull() {
            addCriterion("BANKBRHCD is not null");
            return (Criteria) this;
        }

        public Criteria andBankbrhcdEqualTo(String value) {
            addCriterion("BANKBRHCD =", value, "bankbrhcd");
            return (Criteria) this;
        }

        public Criteria andBankbrhcdNotEqualTo(String value) {
            addCriterion("BANKBRHCD <>", value, "bankbrhcd");
            return (Criteria) this;
        }

        public Criteria andBankbrhcdGreaterThan(String value) {
            addCriterion("BANKBRHCD >", value, "bankbrhcd");
            return (Criteria) this;
        }

        public Criteria andBankbrhcdGreaterThanOrEqualTo(String value) {
            addCriterion("BANKBRHCD >=", value, "bankbrhcd");
            return (Criteria) this;
        }

        public Criteria andBankbrhcdLessThan(String value) {
            addCriterion("BANKBRHCD <", value, "bankbrhcd");
            return (Criteria) this;
        }

        public Criteria andBankbrhcdLessThanOrEqualTo(String value) {
            addCriterion("BANKBRHCD <=", value, "bankbrhcd");
            return (Criteria) this;
        }

        public Criteria andBankbrhcdLike(String value) {
            addCriterion("BANKBRHCD like", value, "bankbrhcd");
            return (Criteria) this;
        }

        public Criteria andBankbrhcdNotLike(String value) {
            addCriterion("BANKBRHCD not like", value, "bankbrhcd");
            return (Criteria) this;
        }

        public Criteria andBankbrhcdIn(List<String> values) {
            addCriterion("BANKBRHCD in", values, "bankbrhcd");
            return (Criteria) this;
        }

        public Criteria andBankbrhcdNotIn(List<String> values) {
            addCriterion("BANKBRHCD not in", values, "bankbrhcd");
            return (Criteria) this;
        }

        public Criteria andBankbrhcdBetween(String value1, String value2) {
            addCriterion("BANKBRHCD between", value1, value2, "bankbrhcd");
            return (Criteria) this;
        }

        public Criteria andBankbrhcdNotBetween(String value1, String value2) {
            addCriterion("BANKBRHCD not between", value1, value2, "bankbrhcd");
            return (Criteria) this;
        }

        public Criteria andInsbyIsNull() {
            addCriterion("INSBY is null");
            return (Criteria) this;
        }

        public Criteria andInsbyIsNotNull() {
            addCriterion("INSBY is not null");
            return (Criteria) this;
        }

        public Criteria andInsbyEqualTo(String value) {
            addCriterion("INSBY =", value, "insby");
            return (Criteria) this;
        }

        public Criteria andInsbyNotEqualTo(String value) {
            addCriterion("INSBY <>", value, "insby");
            return (Criteria) this;
        }

        public Criteria andInsbyGreaterThan(String value) {
            addCriterion("INSBY >", value, "insby");
            return (Criteria) this;
        }

        public Criteria andInsbyGreaterThanOrEqualTo(String value) {
            addCriterion("INSBY >=", value, "insby");
            return (Criteria) this;
        }

        public Criteria andInsbyLessThan(String value) {
            addCriterion("INSBY <", value, "insby");
            return (Criteria) this;
        }

        public Criteria andInsbyLessThanOrEqualTo(String value) {
            addCriterion("INSBY <=", value, "insby");
            return (Criteria) this;
        }

        public Criteria andInsbyLike(String value) {
            addCriterion("INSBY like", value, "insby");
            return (Criteria) this;
        }

        public Criteria andInsbyNotLike(String value) {
            addCriterion("INSBY not like", value, "insby");
            return (Criteria) this;
        }

        public Criteria andInsbyIn(List<String> values) {
            addCriterion("INSBY in", values, "insby");
            return (Criteria) this;
        }

        public Criteria andInsbyNotIn(List<String> values) {
            addCriterion("INSBY not in", values, "insby");
            return (Criteria) this;
        }

        public Criteria andInsbyBetween(String value1, String value2) {
            addCriterion("INSBY between", value1, value2, "insby");
            return (Criteria) this;
        }

        public Criteria andInsbyNotBetween(String value1, String value2) {
            addCriterion("INSBY not between", value1, value2, "insby");
            return (Criteria) this;
        }

        public Criteria andInsdtIsNull() {
            addCriterion("INSDT is null");
            return (Criteria) this;
        }

        public Criteria andInsdtIsNotNull() {
            addCriterion("INSDT is not null");
            return (Criteria) this;
        }

        public Criteria andInsdtEqualTo(Date value) {
            addCriterion("INSDT =", value, "insdt");
            return (Criteria) this;
        }

        public Criteria andInsdtNotEqualTo(Date value) {
            addCriterion("INSDT <>", value, "insdt");
            return (Criteria) this;
        }

        public Criteria andInsdtGreaterThan(Date value) {
            addCriterion("INSDT >", value, "insdt");
            return (Criteria) this;
        }

        public Criteria andInsdtGreaterThanOrEqualTo(Date value) {
            addCriterion("INSDT >=", value, "insdt");
            return (Criteria) this;
        }

        public Criteria andInsdtLessThan(Date value) {
            addCriterion("INSDT <", value, "insdt");
            return (Criteria) this;
        }

        public Criteria andInsdtLessThanOrEqualTo(Date value) {
            addCriterion("INSDT <=", value, "insdt");
            return (Criteria) this;
        }

        public Criteria andInsdtIn(List<Date> values) {
            addCriterion("INSDT in", values, "insdt");
            return (Criteria) this;
        }

        public Criteria andInsdtNotIn(List<Date> values) {
            addCriterion("INSDT not in", values, "insdt");
            return (Criteria) this;
        }

        public Criteria andInsdtBetween(Date value1, Date value2) {
            addCriterion("INSDT between", value1, value2, "insdt");
            return (Criteria) this;
        }

        public Criteria andInsdtNotBetween(Date value1, Date value2) {
            addCriterion("INSDT not between", value1, value2, "insdt");
            return (Criteria) this;
        }

        public Criteria andUpdbyIsNull() {
            addCriterion("UPDBY is null");
            return (Criteria) this;
        }

        public Criteria andUpdbyIsNotNull() {
            addCriterion("UPDBY is not null");
            return (Criteria) this;
        }

        public Criteria andUpdbyEqualTo(String value) {
            addCriterion("UPDBY =", value, "updby");
            return (Criteria) this;
        }

        public Criteria andUpdbyNotEqualTo(String value) {
            addCriterion("UPDBY <>", value, "updby");
            return (Criteria) this;
        }

        public Criteria andUpdbyGreaterThan(String value) {
            addCriterion("UPDBY >", value, "updby");
            return (Criteria) this;
        }

        public Criteria andUpdbyGreaterThanOrEqualTo(String value) {
            addCriterion("UPDBY >=", value, "updby");
            return (Criteria) this;
        }

        public Criteria andUpdbyLessThan(String value) {
            addCriterion("UPDBY <", value, "updby");
            return (Criteria) this;
        }

        public Criteria andUpdbyLessThanOrEqualTo(String value) {
            addCriterion("UPDBY <=", value, "updby");
            return (Criteria) this;
        }

        public Criteria andUpdbyLike(String value) {
            addCriterion("UPDBY like", value, "updby");
            return (Criteria) this;
        }

        public Criteria andUpdbyNotLike(String value) {
            addCriterion("UPDBY not like", value, "updby");
            return (Criteria) this;
        }

        public Criteria andUpdbyIn(List<String> values) {
            addCriterion("UPDBY in", values, "updby");
            return (Criteria) this;
        }

        public Criteria andUpdbyNotIn(List<String> values) {
            addCriterion("UPDBY not in", values, "updby");
            return (Criteria) this;
        }

        public Criteria andUpdbyBetween(String value1, String value2) {
            addCriterion("UPDBY between", value1, value2, "updby");
            return (Criteria) this;
        }

        public Criteria andUpdbyNotBetween(String value1, String value2) {
            addCriterion("UPDBY not between", value1, value2, "updby");
            return (Criteria) this;
        }

        public Criteria andUpddtIsNull() {
            addCriterion("UPDDT is null");
            return (Criteria) this;
        }

        public Criteria andUpddtIsNotNull() {
            addCriterion("UPDDT is not null");
            return (Criteria) this;
        }

        public Criteria andUpddtEqualTo(Date value) {
            addCriterion("UPDDT =", value, "upddt");
            return (Criteria) this;
        }

        public Criteria andUpddtNotEqualTo(Date value) {
            addCriterion("UPDDT <>", value, "upddt");
            return (Criteria) this;
        }

        public Criteria andUpddtGreaterThan(Date value) {
            addCriterion("UPDDT >", value, "upddt");
            return (Criteria) this;
        }

        public Criteria andUpddtGreaterThanOrEqualTo(Date value) {
            addCriterion("UPDDT >=", value, "upddt");
            return (Criteria) this;
        }

        public Criteria andUpddtLessThan(Date value) {
            addCriterion("UPDDT <", value, "upddt");
            return (Criteria) this;
        }

        public Criteria andUpddtLessThanOrEqualTo(Date value) {
            addCriterion("UPDDT <=", value, "upddt");
            return (Criteria) this;
        }

        public Criteria andUpddtIn(List<Date> values) {
            addCriterion("UPDDT in", values, "upddt");
            return (Criteria) this;
        }

        public Criteria andUpddtNotIn(List<Date> values) {
            addCriterion("UPDDT not in", values, "upddt");
            return (Criteria) this;
        }

        public Criteria andUpddtBetween(Date value1, Date value2) {
            addCriterion("UPDDT between", value1, value2, "upddt");
            return (Criteria) this;
        }

        public Criteria andUpddtNotBetween(Date value1, Date value2) {
            addCriterion("UPDDT not between", value1, value2, "upddt");
            return (Criteria) this;
        }

        public Criteria andFullnmIsNull() {
            addCriterion("FULLNM is null");
            return (Criteria) this;
        }

        public Criteria andFullnmIsNotNull() {
            addCriterion("FULLNM is not null");
            return (Criteria) this;
        }

        public Criteria andFullnmEqualTo(String value) {
            addCriterion("FULLNM =", value, "fullnm");
            return (Criteria) this;
        }

        public Criteria andFullnmNotEqualTo(String value) {
            addCriterion("FULLNM <>", value, "fullnm");
            return (Criteria) this;
        }

        public Criteria andFullnmGreaterThan(String value) {
            addCriterion("FULLNM >", value, "fullnm");
            return (Criteria) this;
        }

        public Criteria andFullnmGreaterThanOrEqualTo(String value) {
            addCriterion("FULLNM >=", value, "fullnm");
            return (Criteria) this;
        }

        public Criteria andFullnmLessThan(String value) {
            addCriterion("FULLNM <", value, "fullnm");
            return (Criteria) this;
        }

        public Criteria andFullnmLessThanOrEqualTo(String value) {
            addCriterion("FULLNM <=", value, "fullnm");
            return (Criteria) this;
        }

        public Criteria andFullnmLike(String value) {
            addCriterion("FULLNM like", value, "fullnm");
            return (Criteria) this;
        }

        public Criteria andFullnmNotLike(String value) {
            addCriterion("FULLNM not like", value, "fullnm");
            return (Criteria) this;
        }

        public Criteria andFullnmIn(List<String> values) {
            addCriterion("FULLNM in", values, "fullnm");
            return (Criteria) this;
        }

        public Criteria andFullnmNotIn(List<String> values) {
            addCriterion("FULLNM not in", values, "fullnm");
            return (Criteria) this;
        }

        public Criteria andFullnmBetween(String value1, String value2) {
            addCriterion("FULLNM between", value1, value2, "fullnm");
            return (Criteria) this;
        }

        public Criteria andFullnmNotBetween(String value1, String value2) {
            addCriterion("FULLNM not between", value1, value2, "fullnm");
            return (Criteria) this;
        }

        public Criteria andAddr1IsNull() {
            addCriterion("ADDR1 is null");
            return (Criteria) this;
        }

        public Criteria andAddr1IsNotNull() {
            addCriterion("ADDR1 is not null");
            return (Criteria) this;
        }

        public Criteria andAddr1EqualTo(String value) {
            addCriterion("ADDR1 =", value, "addr1");
            return (Criteria) this;
        }

        public Criteria andAddr1NotEqualTo(String value) {
            addCriterion("ADDR1 <>", value, "addr1");
            return (Criteria) this;
        }

        public Criteria andAddr1GreaterThan(String value) {
            addCriterion("ADDR1 >", value, "addr1");
            return (Criteria) this;
        }

        public Criteria andAddr1GreaterThanOrEqualTo(String value) {
            addCriterion("ADDR1 >=", value, "addr1");
            return (Criteria) this;
        }

        public Criteria andAddr1LessThan(String value) {
            addCriterion("ADDR1 <", value, "addr1");
            return (Criteria) this;
        }

        public Criteria andAddr1LessThanOrEqualTo(String value) {
            addCriterion("ADDR1 <=", value, "addr1");
            return (Criteria) this;
        }

        public Criteria andAddr1Like(String value) {
            addCriterion("ADDR1 like", value, "addr1");
            return (Criteria) this;
        }

        public Criteria andAddr1NotLike(String value) {
            addCriterion("ADDR1 not like", value, "addr1");
            return (Criteria) this;
        }

        public Criteria andAddr1In(List<String> values) {
            addCriterion("ADDR1 in", values, "addr1");
            return (Criteria) this;
        }

        public Criteria andAddr1NotIn(List<String> values) {
            addCriterion("ADDR1 not in", values, "addr1");
            return (Criteria) this;
        }

        public Criteria andAddr1Between(String value1, String value2) {
            addCriterion("ADDR1 between", value1, value2, "addr1");
            return (Criteria) this;
        }

        public Criteria andAddr1NotBetween(String value1, String value2) {
            addCriterion("ADDR1 not between", value1, value2, "addr1");
            return (Criteria) this;
        }

        public Criteria andAddr2IsNull() {
            addCriterion("ADDR2 is null");
            return (Criteria) this;
        }

        public Criteria andAddr2IsNotNull() {
            addCriterion("ADDR2 is not null");
            return (Criteria) this;
        }

        public Criteria andAddr2EqualTo(String value) {
            addCriterion("ADDR2 =", value, "addr2");
            return (Criteria) this;
        }

        public Criteria andAddr2NotEqualTo(String value) {
            addCriterion("ADDR2 <>", value, "addr2");
            return (Criteria) this;
        }

        public Criteria andAddr2GreaterThan(String value) {
            addCriterion("ADDR2 >", value, "addr2");
            return (Criteria) this;
        }

        public Criteria andAddr2GreaterThanOrEqualTo(String value) {
            addCriterion("ADDR2 >=", value, "addr2");
            return (Criteria) this;
        }

        public Criteria andAddr2LessThan(String value) {
            addCriterion("ADDR2 <", value, "addr2");
            return (Criteria) this;
        }

        public Criteria andAddr2LessThanOrEqualTo(String value) {
            addCriterion("ADDR2 <=", value, "addr2");
            return (Criteria) this;
        }

        public Criteria andAddr2Like(String value) {
            addCriterion("ADDR2 like", value, "addr2");
            return (Criteria) this;
        }

        public Criteria andAddr2NotLike(String value) {
            addCriterion("ADDR2 not like", value, "addr2");
            return (Criteria) this;
        }

        public Criteria andAddr2In(List<String> values) {
            addCriterion("ADDR2 in", values, "addr2");
            return (Criteria) this;
        }

        public Criteria andAddr2NotIn(List<String> values) {
            addCriterion("ADDR2 not in", values, "addr2");
            return (Criteria) this;
        }

        public Criteria andAddr2Between(String value1, String value2) {
            addCriterion("ADDR2 between", value1, value2, "addr2");
            return (Criteria) this;
        }

        public Criteria andAddr2NotBetween(String value1, String value2) {
            addCriterion("ADDR2 not between", value1, value2, "addr2");
            return (Criteria) this;
        }

        public Criteria andPostcdIsNull() {
            addCriterion("POSTCD is null");
            return (Criteria) this;
        }

        public Criteria andPostcdIsNotNull() {
            addCriterion("POSTCD is not null");
            return (Criteria) this;
        }

        public Criteria andPostcdEqualTo(String value) {
            addCriterion("POSTCD =", value, "postcd");
            return (Criteria) this;
        }

        public Criteria andPostcdNotEqualTo(String value) {
            addCriterion("POSTCD <>", value, "postcd");
            return (Criteria) this;
        }

        public Criteria andPostcdGreaterThan(String value) {
            addCriterion("POSTCD >", value, "postcd");
            return (Criteria) this;
        }

        public Criteria andPostcdGreaterThanOrEqualTo(String value) {
            addCriterion("POSTCD >=", value, "postcd");
            return (Criteria) this;
        }

        public Criteria andPostcdLessThan(String value) {
            addCriterion("POSTCD <", value, "postcd");
            return (Criteria) this;
        }

        public Criteria andPostcdLessThanOrEqualTo(String value) {
            addCriterion("POSTCD <=", value, "postcd");
            return (Criteria) this;
        }

        public Criteria andPostcdLike(String value) {
            addCriterion("POSTCD like", value, "postcd");
            return (Criteria) this;
        }

        public Criteria andPostcdNotLike(String value) {
            addCriterion("POSTCD not like", value, "postcd");
            return (Criteria) this;
        }

        public Criteria andPostcdIn(List<String> values) {
            addCriterion("POSTCD in", values, "postcd");
            return (Criteria) this;
        }

        public Criteria andPostcdNotIn(List<String> values) {
            addCriterion("POSTCD not in", values, "postcd");
            return (Criteria) this;
        }

        public Criteria andPostcdBetween(String value1, String value2) {
            addCriterion("POSTCD between", value1, value2, "postcd");
            return (Criteria) this;
        }

        public Criteria andPostcdNotBetween(String value1, String value2) {
            addCriterion("POSTCD not between", value1, value2, "postcd");
            return (Criteria) this;
        }

        public Criteria andCityIsNull() {
            addCriterion("CITY is null");
            return (Criteria) this;
        }

        public Criteria andCityIsNotNull() {
            addCriterion("CITY is not null");
            return (Criteria) this;
        }

        public Criteria andCityEqualTo(String value) {
            addCriterion("CITY =", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotEqualTo(String value) {
            addCriterion("CITY <>", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityGreaterThan(String value) {
            addCriterion("CITY >", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityGreaterThanOrEqualTo(String value) {
            addCriterion("CITY >=", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLessThan(String value) {
            addCriterion("CITY <", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLessThanOrEqualTo(String value) {
            addCriterion("CITY <=", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLike(String value) {
            addCriterion("CITY like", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotLike(String value) {
            addCriterion("CITY not like", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityIn(List<String> values) {
            addCriterion("CITY in", values, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotIn(List<String> values) {
            addCriterion("CITY not in", values, "city");
            return (Criteria) this;
        }

        public Criteria andCityBetween(String value1, String value2) {
            addCriterion("CITY between", value1, value2, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotBetween(String value1, String value2) {
            addCriterion("CITY not between", value1, value2, "city");
            return (Criteria) this;
        }

        public Criteria andStatecdIsNull() {
            addCriterion("STATECD is null");
            return (Criteria) this;
        }

        public Criteria andStatecdIsNotNull() {
            addCriterion("STATECD is not null");
            return (Criteria) this;
        }

        public Criteria andStatecdEqualTo(String value) {
            addCriterion("STATECD =", value, "statecd");
            return (Criteria) this;
        }

        public Criteria andStatecdNotEqualTo(String value) {
            addCriterion("STATECD <>", value, "statecd");
            return (Criteria) this;
        }

        public Criteria andStatecdGreaterThan(String value) {
            addCriterion("STATECD >", value, "statecd");
            return (Criteria) this;
        }

        public Criteria andStatecdGreaterThanOrEqualTo(String value) {
            addCriterion("STATECD >=", value, "statecd");
            return (Criteria) this;
        }

        public Criteria andStatecdLessThan(String value) {
            addCriterion("STATECD <", value, "statecd");
            return (Criteria) this;
        }

        public Criteria andStatecdLessThanOrEqualTo(String value) {
            addCriterion("STATECD <=", value, "statecd");
            return (Criteria) this;
        }

        public Criteria andStatecdLike(String value) {
            addCriterion("STATECD like", value, "statecd");
            return (Criteria) this;
        }

        public Criteria andStatecdNotLike(String value) {
            addCriterion("STATECD not like", value, "statecd");
            return (Criteria) this;
        }

        public Criteria andStatecdIn(List<String> values) {
            addCriterion("STATECD in", values, "statecd");
            return (Criteria) this;
        }

        public Criteria andStatecdNotIn(List<String> values) {
            addCriterion("STATECD not in", values, "statecd");
            return (Criteria) this;
        }

        public Criteria andStatecdBetween(String value1, String value2) {
            addCriterion("STATECD between", value1, value2, "statecd");
            return (Criteria) this;
        }

        public Criteria andStatecdNotBetween(String value1, String value2) {
            addCriterion("STATECD not between", value1, value2, "statecd");
            return (Criteria) this;
        }

        public Criteria andCtrycdIsNull() {
            addCriterion("CTRYCD is null");
            return (Criteria) this;
        }

        public Criteria andCtrycdIsNotNull() {
            addCriterion("CTRYCD is not null");
            return (Criteria) this;
        }

        public Criteria andCtrycdEqualTo(String value) {
            addCriterion("CTRYCD =", value, "ctrycd");
            return (Criteria) this;
        }

        public Criteria andCtrycdNotEqualTo(String value) {
            addCriterion("CTRYCD <>", value, "ctrycd");
            return (Criteria) this;
        }

        public Criteria andCtrycdGreaterThan(String value) {
            addCriterion("CTRYCD >", value, "ctrycd");
            return (Criteria) this;
        }

        public Criteria andCtrycdGreaterThanOrEqualTo(String value) {
            addCriterion("CTRYCD >=", value, "ctrycd");
            return (Criteria) this;
        }

        public Criteria andCtrycdLessThan(String value) {
            addCriterion("CTRYCD <", value, "ctrycd");
            return (Criteria) this;
        }

        public Criteria andCtrycdLessThanOrEqualTo(String value) {
            addCriterion("CTRYCD <=", value, "ctrycd");
            return (Criteria) this;
        }

        public Criteria andCtrycdLike(String value) {
            addCriterion("CTRYCD like", value, "ctrycd");
            return (Criteria) this;
        }

        public Criteria andCtrycdNotLike(String value) {
            addCriterion("CTRYCD not like", value, "ctrycd");
            return (Criteria) this;
        }

        public Criteria andCtrycdIn(List<String> values) {
            addCriterion("CTRYCD in", values, "ctrycd");
            return (Criteria) this;
        }

        public Criteria andCtrycdNotIn(List<String> values) {
            addCriterion("CTRYCD not in", values, "ctrycd");
            return (Criteria) this;
        }

        public Criteria andCtrycdBetween(String value1, String value2) {
            addCriterion("CTRYCD between", value1, value2, "ctrycd");
            return (Criteria) this;
        }

        public Criteria andCtrycdNotBetween(String value1, String value2) {
            addCriterion("CTRYCD not between", value1, value2, "ctrycd");
            return (Criteria) this;
        }

        public Criteria andTelnoIsNull() {
            addCriterion("TELNO is null");
            return (Criteria) this;
        }

        public Criteria andTelnoIsNotNull() {
            addCriterion("TELNO is not null");
            return (Criteria) this;
        }

        public Criteria andTelnoEqualTo(String value) {
            addCriterion("TELNO =", value, "telno");
            return (Criteria) this;
        }

        public Criteria andTelnoNotEqualTo(String value) {
            addCriterion("TELNO <>", value, "telno");
            return (Criteria) this;
        }

        public Criteria andTelnoGreaterThan(String value) {
            addCriterion("TELNO >", value, "telno");
            return (Criteria) this;
        }

        public Criteria andTelnoGreaterThanOrEqualTo(String value) {
            addCriterion("TELNO >=", value, "telno");
            return (Criteria) this;
        }

        public Criteria andTelnoLessThan(String value) {
            addCriterion("TELNO <", value, "telno");
            return (Criteria) this;
        }

        public Criteria andTelnoLessThanOrEqualTo(String value) {
            addCriterion("TELNO <=", value, "telno");
            return (Criteria) this;
        }

        public Criteria andTelnoLike(String value) {
            addCriterion("TELNO like", value, "telno");
            return (Criteria) this;
        }

        public Criteria andTelnoNotLike(String value) {
            addCriterion("TELNO not like", value, "telno");
            return (Criteria) this;
        }

        public Criteria andTelnoIn(List<String> values) {
            addCriterion("TELNO in", values, "telno");
            return (Criteria) this;
        }

        public Criteria andTelnoNotIn(List<String> values) {
            addCriterion("TELNO not in", values, "telno");
            return (Criteria) this;
        }

        public Criteria andTelnoBetween(String value1, String value2) {
            addCriterion("TELNO between", value1, value2, "telno");
            return (Criteria) this;
        }

        public Criteria andTelnoNotBetween(String value1, String value2) {
            addCriterion("TELNO not between", value1, value2, "telno");
            return (Criteria) this;
        }

        public Criteria andFaxnoIsNull() {
            addCriterion("FAXNO is null");
            return (Criteria) this;
        }

        public Criteria andFaxnoIsNotNull() {
            addCriterion("FAXNO is not null");
            return (Criteria) this;
        }

        public Criteria andFaxnoEqualTo(String value) {
            addCriterion("FAXNO =", value, "faxno");
            return (Criteria) this;
        }

        public Criteria andFaxnoNotEqualTo(String value) {
            addCriterion("FAXNO <>", value, "faxno");
            return (Criteria) this;
        }

        public Criteria andFaxnoGreaterThan(String value) {
            addCriterion("FAXNO >", value, "faxno");
            return (Criteria) this;
        }

        public Criteria andFaxnoGreaterThanOrEqualTo(String value) {
            addCriterion("FAXNO >=", value, "faxno");
            return (Criteria) this;
        }

        public Criteria andFaxnoLessThan(String value) {
            addCriterion("FAXNO <", value, "faxno");
            return (Criteria) this;
        }

        public Criteria andFaxnoLessThanOrEqualTo(String value) {
            addCriterion("FAXNO <=", value, "faxno");
            return (Criteria) this;
        }

        public Criteria andFaxnoLike(String value) {
            addCriterion("FAXNO like", value, "faxno");
            return (Criteria) this;
        }

        public Criteria andFaxnoNotLike(String value) {
            addCriterion("FAXNO not like", value, "faxno");
            return (Criteria) this;
        }

        public Criteria andFaxnoIn(List<String> values) {
            addCriterion("FAXNO in", values, "faxno");
            return (Criteria) this;
        }

        public Criteria andFaxnoNotIn(List<String> values) {
            addCriterion("FAXNO not in", values, "faxno");
            return (Criteria) this;
        }

        public Criteria andFaxnoBetween(String value1, String value2) {
            addCriterion("FAXNO between", value1, value2, "faxno");
            return (Criteria) this;
        }

        public Criteria andFaxnoNotBetween(String value1, String value2) {
            addCriterion("FAXNO not between", value1, value2, "faxno");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}